/**********************************
 * @Author: Your Name
 * @LastEditor: Your Name
 * @LastEditTime: 2025-11-07
 * Copyright © 2025 Your Name
 **********************************/

// 项目管理相关Mock数据
export const projectMockData = {
  // 项目列表
  projects: [
    {
      id: 1,
      name: 'IDP全功能规划',
      description: '企业级身份权限管理系统完整功能规划',
      categoryId: 1,
      status: 'IN_PROGRESS',
      ownerId: 1,
      startDate: '2025-01-01',
      endDate: '2025-12-31',
      visibility: 'PRIVATE',
      enable: true,
      createTime: '2025-01-01T10:00:00.000+08:00',
      updateTime: '2025-01-01T10:00:00.000+08:00',
    },
    {
      id: 2,
      name: 'S3对象存储基础设施',
      description: '企业级私有化部署的对象存储基础设施',
      categoryId: 2,
      status: 'COMPLETED',
      ownerId: 2,
      startDate: '2024-10-01',
      endDate: '2024-12-31',
      visibility: 'PUBLIC',
      enable: true,
      createTime: '2024-09-30T15:30:00.000+08:00',
      updateTime: '2025-01-15T14:20:00.000+08:00',
    },
    {
      id: 3,
      name: '设计文件管理系统',
      description: '支持多种设计文件格式的上传、版本控制、在线预览',
      categoryId: 1,
      status: 'PLANNING',
      ownerId: 3,
      startDate: '2025-03-01',
      endDate: '2025-06-30',
      visibility: 'SPECIFIC',
      enable: true,
      createTime: '2025-02-28T09:15:00.000+08:00',
      updateTime: '2025-02-28T09:15:00.000+08:00',
    },
  ],

  // 项目分类
  projectCategories: [
    {
      id: 1,
      name: '产品规划',
      description: '产品功能规划相关项目',
      parentId: null,
      sortOrder: 1,
      createTime: '2024-01-01T00:00:00.000+08:00',
    },
    {
      id: 2,
      name: '基础设施',
      description: '系统基础设施建设相关项目',
      parentId: null,
      sortOrder: 2,
      createTime: '2024-01-01T00:00:00.000+08:00',
    },
    {
      id: 3,
      name: '功能开发',
      description: '具体功能开发相关项目',
      parentId: null,
      sortOrder: 3,
      createTime: '2024-01-01T00:00:00.000+08:00',
    },
    {
      id: 4,
      name: '安全与权限',
      description: '安全与权限管理相关项目',
      parentId: 3,
      sortOrder: 1,
      createTime: '2024-05-15T10:00:00.000+08:00',
    },
  ],

  // 项目状态选项
  projectStatusOptions: [
    { name: '规划中', value: 'PLANNING' },
    { name: '进行中', value: 'IN_PROGRESS' },
    { name: '已完成', value: 'COMPLETED' },
    { name: '已暂停', value: 'PAUSED' },
    { name: '已取消', value: 'CANCELLED' },
  ],

  // 用户列表（用于选择负责人）
  users: [
    { id: 1, username: 'admin', nickName: '管理员' },
    { id: 2, username: 'user1', nickName: '用户1' },
    { id: 3, username: 'user2', nickName: '用户2' },
    { id: 4, username: 'pm1', nickName: '项目经理1' },
    { id: 5, username: 'pm2', nickName: '项目经理2' },
  ],
}
